Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: buffer handling #17

Merged
merged 3 commits into from
Jun 19, 2024
Merged

refactor: buffer handling #17

merged 3 commits into from
Jun 19, 2024

Conversation

cmdoret
Copy link
Member

@cmdoret cmdoret commented Jun 19, 2024

Summary:
This completely removes boilerplate enums to manage input/output buffers completely removed by simply using Box 📦

Why:
It makes the code simpler and more flexible (input/output can be anything that implements BufRead/Write).

Note:
There is virtually no impact on speed; it's actually ~1% faster 😛

@cmdoret cmdoret merged commit 0863e1a into main Jun 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant